export const tableOption = {
  border: true,
  index: true,
  indexLabel: '序号',
  stripe: true,
  menuAlign: 'center',
  align: 'center',
  searchMenuSpan: 6,
  column: [
    {
      type: 'input',
      label: 'id',
      prop: 'id',
      span: 12,
      hide: true,
      display: false
    },
    {
      type: 'input',
      label: '规则名称',
      prop: 'name',
      span: 24
    },
    {
      type: 'input',
      label: '规则ID',
      prop: 'actorId',
      span: 24
    },
    {
      type: 'input',
      label: '规则拓展ID',
      prop: 'actorExId',
      span: 24
    },
    {
      type: 'input',
      label: '拓展信息',
      prop: 'extendInfo',
      span: 24
    },
    {
      type: 'select',
      label: '规则类型',
      prop: 'actorType',
      span: 24,
      dicData: [
        {
          label: '用户规则',
          value: 'AT_USER'
        },
        {
          label: '角色规则',
          value: 'AT_ROLE'
        },
        {
          label: '部门规则',
          value: 'AT_DEPT'
        },
        {
          label: 'JavaBean规则',
          value: 'AT_RULE'
        }
      ]
    },
    {
      type: 'input',
      label: '参数',
      prop: 'params',
      span: 24
    },
    {
      type: 'radio',
      label: '是否远程调用',
      prop: 'remoteFlag',
      span: 24,
      dicData: [
        {
          label: '是',
          value: 'y'
        },
        {
          label: '否',
          value: 'n'
        }
      ]
    },
    {
      type: 'input',
      label: '服务ID',
      prop: 'serviceId',
      span: 24
    },
    {
      type: 'input',
      label: '请求URL',
      prop: 'serviceUrl',
      span: 24
    },
    {
      type: 'number',
      label: '序号',
      prop: 'actorIndex',
      span: 24
    }
  ]
}
